package com.headwind.logistics.system.service.intl;

import com.headwind.logistics.system.dto.IntegralMallDetailDto;
import com.headwind.logistics.system.pojo.IntegralMall;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author你爸爸 Date2020/7/27 15:06
 * Version 1.0
 * DESCRIPTION
 */
public interface IntegralMallService {
    //查询
    public List<IntegralMall> selectIntegralMall(@Param("page")Integer page, @Param("rows")Integer rows);
    //查询商品兑换记录
    public List<IntegralMallDetailDto> selectIntegralMallDetail(@Param("page")Integer page, @Param("rows")Integer rows,@Param("integralMallId")Integer integralMallId);
    //新增
    public int insertIntegralMallDetail(IntegralMall integralMall);
    //删除
    public int deleteIntegralMall(Long integralMallId);
}
